import request from '@/utils/request'

// 查询关注-粉丝列表
export function listUserFocus(query) {
  return request({
    url: '/system/userFocus/list',
    method: 'get',
    params: query
  })
}

// 查询关注-粉丝详细
export function getUserFocus(id) {
  return request({
    url: '/system/userFocus/' + id,
    method: 'get'
  })
}

// 新增关注-粉丝
export function addUserFocus(data) {
  return request({
    url: '/system/userFocus',
    method: 'post',
    data: data
  })
}

// 修改关注-粉丝
export function updateUserFocus(data) {
  return request({
    url: '/system/userFocus',
    method: 'put',
    data: data
  })
}

// 删除关注-粉丝
export function delUserFocus(id) {
  return request({
    url: '/system/userFocus/' + id,
    method: 'delete'
  })
}
